from tqsdk import TqApi, TqAuth


def get_account():
    api = TqApi(auth=TqAuth("15842676013@m.com", "482737900Wtxdy"))
    account = api.get_account()
    print(account)
    position = api.get_position()
    print(position)
    # 关闭SDK连接
    api.close()


if __name__ == '__main__':
    get_account()
